<?php
if(!defined('IN_SONG')) exit('No direct script access allowed');  
/**
 * Class Test Model
 * 
 * @package         Model
 * @subpackage      Test
 * @version         0.1
 * @copyright       Song (c) 2011
 */ 
class Test extends Model
{
    function __construct() { 
        parent::__construct();
    }
    
    public function test($userId = 0){  
        //$i = 305697;
//        $arrInsert = array(
//            'username' => 'diepvd_'. $i, 
//            'password'  => md5('diepvd_'. $i), 
//            'confirm_password' => md5('diepvd_'. $i),
//            'fullname' => 'Dac Diep Vuong', 
//            'email' => 'diepvd_'. $i .'@gmail.com', 
//            'address' => 'Tan Hòa, Quốc oai, Hà Nội, Vietnam', 
//            'created' => time(), 
//            'modify' => time()
//        );   
//            
//        $this->insert('users', $arrInsert);
//        $this->rollBack();
        return $this->select('users', '*', 'userid = 103005'); 
        
    }
}  
?>
